//
//  StaffMainModel.h
//  LogisticsSupplier
//
//  Created by 吕晶 on 2020/8/31.
//  Copyright © 2020 吕晶. All rights reserved.
//

#import <Foundation/Foundation.h>
@class StaffAuthModel;

NS_ASSUME_NONNULL_BEGIN

@interface StaffMainModel : NSObject

@property (nonatomic, assign) int sw_id;//员工id
@property (nonatomic, copy) NSString *username;//员工名称
@property (nonatomic, copy) NSString *phone;
@property (nonatomic, copy) NSString *headimg;//员工头像
@property (nonatomic, assign) int is_optional;//是否可选 1 不可选（管理员和自己），2=可选
@property (nonatomic, copy) NSString *sex;
@property (nonatomic, copy) NSString *auth;
@property (nonatomic, strong) NSArray <StaffAuthModel *>*authArray;
@property (nonatomic, copy) NSString *department;//部门
@property (nonatomic, copy) NSString *position;
@property (nonatomic, copy) NSString *updatetime;//更新时间
@property (nonatomic, copy) NSString *createtime;//创建时间
@property (nonatomic, copy) NSString *level;
@property (nonatomic, copy) NSString *level_n;
@property (nonatomic, copy) NSString *delType;
@property (nonatomic, copy) NSString *delType_n;
@property (nonatomic, copy) NSString *isadmin;//

@property (nonatomic, copy) NSString *password;
@property (nonatomic, copy) NSString *email;




@property (nonatomic, assign) BOOL canSelect;
@property (nonatomic, assign) BOOL isSelected;

@end

@interface StaffAuthModel : NSObject

@property (nonatomic, copy) NSString *Id;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, assign) BOOL status;
@property (nonatomic, assign) BOOL isauth;

@end

NS_ASSUME_NONNULL_END
